package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:19
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysPropertyDAO extends IDataAccessInterface<SysProperty, SysPropertyDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "SYS_PROPERTY";

    /**
     * Mapped Field ID
    */
    static final String Id = "SYS_PROPERTY.ID";

    /**
     * Mapped Field PROPERTY_CATALOG
    */
    static final String PropertyCatalog = "SYS_PROPERTY.PROPERTY_CATALOG";

    /**
     * Mapped Field PROPERTY_CODE
    */
    static final String PropertyCode = "SYS_PROPERTY.PROPERTY_CODE";

    /**
     * Mapped Field PROPERTY_NAME
    */
    static final String PropertyName = "SYS_PROPERTY.PROPERTY_NAME";

    /**
     * Mapped Field PROPERTY_VALUE
    */
    static final String PropertyValue = "SYS_PROPERTY.PROPERTY_VALUE";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "SYS_PROPERTY.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "SYS_PROPERTY.REMARKS";

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    SysProperty findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute propertyCatalog
         */
        static final String PropertyCatalog = "propertyCatalog";

        /**
         * Attribute propertyCode
         */
        static final String PropertyCode = "propertyCode";

        /**
         * Attribute propertyName
         */
        static final String PropertyName = "propertyName";

        /**
         * Attribute propertyValue
         */
        static final String PropertyValue = "propertyValue";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
